package edu.sctu.practice.class02.shuqiqi.test18;

/**
 * Created by admin on 2015/10/29.
 */
public class Car extends Auto {
    String CD;
    String aircondition;

    public Car(
            int tire, String color, double weight, String CD, String aircondition) {
        super(tire, color, weight);
    }

    public static void main(String[] args) {
        Auto auto = new Car(4, "白色", 5.2, "12345", "格力");
        auto.getWeight();
        auto.getColor();
        auto.setWeight(5.2);
        auto.park();
        auto.SpeedDown(12);
        auto.SpeedUp(8);
    }

}
